package com.huaxiafinance.management.service;


import com.huaxiafinance.management.dto.request.GiftDetailsDto;
import com.huaxiafinance.management.dto.request.QueryGiftDto;
import com.huaxiafinance.management.dto.request.ScoreGiftDto;
import com.huaxiafinance.management.util.MessageResult;

import javax.servlet.http.HttpServletResponse;

public interface ScoreGiftService {

  public MessageResult queryScoreGiftList(QueryGiftDto dto) throws Exception;

  public MessageResult insertScoreGift(ScoreGiftDto dto) throws Exception;

  public MessageResult queryScoreGift(Integer id) throws Exception;

  public MessageResult queryScoreGiftCode(GiftDetailsDto dto) throws Exception;

  public MessageResult queryCodeDetails(String giftCode) throws Exception;

  public MessageResult queryBatchList() throws Exception;

  void download(String id, HttpServletResponse response) throws Exception;

  public MessageResult queryAllCode(Integer giftCodeId) throws Exception;
}
